﻿namespace Forum.Model
{
    /// <summary>
    /// 系统配置
    /// </summary>
    public class SystemConfig
    {
        /// <summary>
        /// 登录信息保存方式 Cookie Session WebApi
        /// </summary>
        public string LoginProvider { get; set; }
        /// <summary>
        /// SnowFlake 节点序号
        /// </summary>
        public static int SnowFlakeWorkerId { get; set; }
        /// <summary>
        /// 允许的其他站点访问Api
        /// </summary>
        public static string AllowCorsSite { get; set; }
        /// <summary>
        /// 图片保存地址
        /// </summary>
        public static string imageUrl { get; set; }
    }
}
